﻿<%@ Page Title="Add an Expense" Language="C#" MasterPageFile="~/Layout.master" AutoEventWireup="true"
    CodeFile="AddExpense.aspx.cs" Inherits="Secured_AddExpense" Theme="Default" Buffer="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolder1" runat="Server">
    <div style="font-size: large">
        Add an Expense<br />
    </div>
    <div>
        <asp:Literal ID="ltMsg" runat="server" />
    </div>
    <div>
        <fieldset style="padding: 10px" class="AccountInfo">
            <strong>Date:</strong><br />
            <asp:TextBox ID="txtDate" runat="server" Text='<%# DateTime.Today%>' /><br /><br />
            <strong>Paid By:</strong><br />
            <asp:DropDownList ID="cmbPaidBy" runat="server" />
            <br /><br />
            <strong>For the Month & Year:</strong><br />
            <asp:DropDownList ID="cmbMonth" runat="server">
                <asp:ListItem Text="Jan" Value="Jan" />
                <asp:ListItem Text="Feb" Value="Feb" />
                <asp:ListItem Text="Mar" Value="Mar" />
                <asp:ListItem Text="Apr" Value="Apr" />
                <asp:ListItem Text="May" Value="May" />
                <asp:ListItem Text="Jun" Value="Jun" />
                <asp:ListItem Text="Jul" Value="Jul" />
                <asp:ListItem Text="Aug" Value="Aug" />
                <asp:ListItem Text="Sep" Value="Sep" />
                <asp:ListItem Text="Oct" Value="Oct" />
                <asp:ListItem Text="Nov" Value="Nov" />
                <asp:ListItem Text="Dec" Value="Dec" />
            </asp:DropDownList>
            &nbsp;
            <asp:DropDownList ID="cmbYear" runat="server" />
            <br /><br />
            <strong>Under Expense:</strong><br />
            <asp:DropDownList ID="cmbExpense" runat="server" 
                onselectedindexchanged="cmbExpense_SelectedIndexChanged" 
                AutoPostBack="True" />
            <br /><br />
            <strong>Notes to Make:</strong><br />
            <asp:TextBox ID="txtNotes" runat="server" TextMode="MultiLine" Rows="5" Columns="40" />
            <br /><br />
            <strong>Amount:</strong><br />
            <asp:TextBox ID="txtAmount" runat="server" />
            <hr />
            <asp:Button ID="btnAddExpense" runat="server" Text="Add Expense" 
                onclick="btnAddExpense_Click" />&nbsp;
            <asp:Button ID="btnClearAll" runat="server" Text="Clear All" /><br />
        </fieldset>
    </div>
</asp:Content>
